import { getRequest } from '@/utils/http/request'

const request = getRequest()


export const goLogin = (data: { username: string, password: string }) => {
    return request.post('/login', data)
}
export const goTest = () => {
    return request.get('/test')
}